package com.lzw.breezeNovel.model.entity.pojo.video;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo.video
 * @date 2025/3/19
 * @description 弹幕的实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Danmu {

    @Schema(description = "弹幕的id")
    private Long id;

    @Schema(description = "弹幕的内容")
    private String text;

    @Schema(description = "发送的用户")
    private Long userId;

    @Schema(description = "发送的时间")
    private Date sendTime;

    @Schema(description = "哪个视频的弹幕")
    private Long videoId;

    @Schema(description = "弹幕的类型")
    private Integer type;

    @Schema(description = "弹幕的什么时间发送的")
    private Integer time;

    @Schema(description = "弹幕的颜色")
    private String color;

    @Schema(description = "弹幕的位置")
    private Integer top;

    @Schema(description = "多少级的弹幕")
    private Integer episodes;
}
